Pular para o conteúdo principal
POST
/
api
/
v1
/
admin
/
users
[Admin] Create a new user
curl --request POST \
  --url https://api.example.com/api/v1/admin/users \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "password": "<string>",
  "phoneNumber": "<string>"
}
'

Corpo

application/json
firstName
string | null
lastName
string | null
email
string | null
password
string | null
role
enum<integer>
Opções disponíveis:
0,
1,
2,
3
phoneNumber
string | null

Resposta

200

OK